package com.woniuxy.service;

import com.woniuxy.controller.form.OrderReviewForm;
import com.woniuxy.entity.DietOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.service.dto.AllOrderDto;
import com.woniuxy.service.dto.StoreOrderInfoDto;
import com.woniuxy.service.dto.WaiteOrderDto;

import java.util.List;

/**
 * <p>
 * 外卖订单 服务类
 * </p>
 *
 * @author zz
 * @since 2023年06月13日
 */
public interface DietOrderService extends IService<DietOrder> {

    StoreOrderInfoDto showStoreOrder(long accountId) throws Exception;

    void orderReview(OrderReviewForm form, long accountId);

    StoreOrderInfoDto orderOut(String orderNum, long accountId) throws Exception;

    List<WaiteOrderDto> showWaiteOrder(long accountId);

    List<AllOrderDto> showAllOrder(long accountId);
}
